package com.app.pojo;

import lombok.Data;

@Data
public class Student {
    private Integer id;
    private String userId;
    private String name;
    private String college;
    private  String year;
    private  String classs;
    private  String major;
    private  Integer sex;    //0为男,1为女
    private  String mobilePhone;
    private  String password;
    private  String teacherId;

    public Student() {
    }

    public Student(String userId, String name, String college, String year, String classs, String major, Integer sex, String mobilePhone, String password, String teacherId) {
        this.userId = userId;
        this.name = name;
        this.college = college;
        this.year = year;
        this.classs = classs;
        this.major = major;
        this.sex = sex;
        this.mobilePhone = mobilePhone;
        this.password = password;
        this.teacherId = teacherId;
    }
}
